<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <link rel="stylesheet" href="/teambuild/Public/admin/css/common.css" type="text/css" />
        <title>管理区域</title>
    </head>

    <body>
        <div id="man_zone">

            <table width="99%" border="0" align="center"  cellpadding="3" cellspacing="1" class="table_style">
                <tr>
                    <td width="5%" class="tb_headc"><span class="left-title">编号</span></td>
                    <td width="15%" class="tb_headc">&nbsp;项目名称</td>
                    <td width="31%" class="tb_headc">&nbsp;备注说明</td>              
                    <td width="20%" class="tb_headc">&nbsp;添加时间</td>
                    <td width="15%" class="tb_headc">&nbsp;相关操作</td>
                </tr>
                <?php if(is_array($list)): $i = 0; $__LIST__ = $list;if( count($__LIST__)==0 ) : echo "$empty" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><tr>
                        <td class='<?php if(($i%2) == '1'): ?>tb_headd<?php else: ?>tb_heade<?php endif; ?>'><?php echo ($vo["id"]); ?></td>
                        <td class='<?php if(($i%2) == '1'): ?>tb_headd<?php else: ?>tb_heade<?php endif; ?>'><?php echo ($vo["name"]); ?></td>
                        <td class='<?php if(($i%2) == '1'): ?>tb_headd<?php else: ?>tb_heade<?php endif; ?>'><?php echo ($vo["remark"]); ?></td>
                        <td class='<?php if(($i%2) == '1'): ?>tb_headd<?php else: ?>tb_heade<?php endif; ?>'><?php echo (date('Y-m-d H:i:s',$vo["time"])); ?></td>
                        <td class='<?php if(($i%2) == '1'): ?>tb_headd<?php else: ?>tb_heade<?php endif; ?>'><a href='<?php echo U("Case/edittype",array("id"=>$vo[id]));?>'>编辑</a> | <a href='<?php echo U("Case/deltype",array("id"=>$vo[id]));?>'>删除</a></td>
                    </tr><?php endforeach; endif; else: echo "$empty" ;endif; ?>
                <tr>
                    <td colspan="8" class="page"><?php echo ($page); ?></td>
                </tr>

            </table>

        </div>
    </body>
</html>